Kleene star - definição. O que é Kleene star. Significado, conceito
Diclib.com
Dicionário ChatGPT
Digite uma palavra ou frase em qualquer idioma 👆
Idioma:

Tradução e análise de palavras por inteligência artificial ChatGPT

Nesta página você pode obter uma análise detalhada de uma palavra ou frase, produzida usando a melhor tecnologia de inteligência artificial até o momento:

  • como a palavra é usada
  • frequência de uso
  • é usado com mais frequência na fala oral ou escrita
  • opções de tradução de palavras
  • exemplos de uso (várias frases com tradução)
  • etimologia

O que (quem) é Kleene star - definição

UNARY OPERATION ON SETS OF STRINGS, USED IN REGULAR EXPRESSIONS FOR "ZERO OR MORE REPETITIONS"
Kleene closure; Kleene plus; Star operation; Σ*; Kleene operator; Kleene operators; Star closure

Kleene star         
<text> (Or "Kleene closure", named after Stephen Kleene) The postfix "*" operator used in regular expressions, Extended Backus-Naur Form, and similar formalisms to specify a match for zero or more occurrences of the preceding expression. For example, the regular expression "be*t" would match the string "bt", "bet", "beet", "beeeeet", and so on. (2000-07-26)
Kleene star         
In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics,
Kleene closure         

Wikipédia

Kleene star

In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics, it is more commonly known as the free monoid construction. The application of the Kleene star to a set V {\displaystyle V} is written as V {\displaystyle V^{*}} . It is widely used for regular expressions, which is the context in which it was introduced by Stephen Kleene to characterize certain automata, where it means "zero or more repetitions".

  1. If V {\displaystyle V} is a set of strings, then V {\displaystyle V^{*}} is defined as the smallest superset of V {\displaystyle V} that contains the empty string ε {\displaystyle \varepsilon } and is closed under the string concatenation operation.
  2. If V {\displaystyle V} is a set of symbols or characters, then V {\displaystyle V^{*}} is the set of all strings over symbols in V {\displaystyle V} , including the empty string ε {\displaystyle \varepsilon } .

The set V {\displaystyle V^{*}} can also be described as the set containing the empty string and all finite-length strings that can be generated by concatenating arbitrary elements of V {\displaystyle V} , allowing the use of the same element multiple times. If V {\displaystyle V} is either the empty set ∅ or the singleton set { ε } {\displaystyle \{\varepsilon \}} , then V = { ε } {\displaystyle V^{*}=\{\varepsilon \}} ; if V {\displaystyle V} is any other finite set or countably infinite set, then V {\displaystyle V^{*}} is a countably infinite set. As a consequence, each formal language over a finite or countably infinite alphabet Σ {\displaystyle \Sigma } is countable, since it is a subset of the countably infinite set Σ {\displaystyle \Sigma ^{*}} .

The operators are used in rewrite rules for generative grammars.